//package com.example.IKAnalyzer;
//
//import org.wltea.analyzer.core.IKSegmenter;
//import org.wltea.analyzer.core.Lexeme;
//
//import java.io.IOException;
//import java.io.StringReader;
//
//public class dome {
//    public static void main(String[] args) throws IOException {
//        String text="我喜欢你";
//        StringReader sr=new StringReader(text);
//        IKSegmenter ik=new IKSegmenter(sr, true);
//        Lexeme lex=null;
//        while((lex=ik.next())!=null){
//            System.out.print(lex.getLexemeText()+"\n");
//        }
//    }
//}
//
///*
//* 1.获取需要分词的字符串
//* 2.创建StringReader
//* 3.创建IKSegmenter
//* 3.创建Lexeme
//* */
